<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>


<c:forEach var="vipUsers" items="${pageInfo.list}">
    <tr>
        <td>${vipUsers.id}</td>
        <td>${vipUsers.username}</td>
        <td>${vipUsers.password}</td>
        <td>${vipUsers.phone}</td>
        <td>${vipUsers.email}</td>
        <td>${vipUsers.rechargeMoney}</td>
        <td><fmt:formatDate value="${vipUsers.addTime}" pattern="yyyy年MM月dd日  HH:mm:ss" /></td>
        <td>${vipUsers.isState==1?"启用":"不启用"}</td>
        <td><img alt="用户头像" src="${basePath }/public/images/${vipUsers.userImg}" height="50" width="50" /> </td>
        <td><fmt:formatDate value="${vipUsers.lastLoginTime}" pattern="yyyy年MM月dd日  HH:mm:ss" /></td>
        <td>${vipUsers.lastIp}</td>
        <td>
            <a href="${basePath}/admin/vip/delete?id=${vipUsers.id}" class="tablelink">删除</a></td>
    </tr>
</c:forEach>
<input type="hidden" id="pages" value="${pageInfo.pages }">
<input type="hidden" id="pageNum" value="${pageInfo.pageNum }">